package au.com.handsunited.web.command;

import org.slf4j.Logger;
import org.slf4j.LoggerFactory;

import au.com.handsunited.model.message.Message;
import au.com.handsunited.model.message.Message;

/**
 *
 * @author Arun Chandrasekhar
 */
public class MessageCommand {


	private Message message;
	private String recipientId;


	private static Logger logger = LoggerFactory.getLogger(MessageCommand.class);


	/**
	 *
	 */
	public MessageCommand() {
		super();
		message = new Message();
	}

	/**
	 * @param message
	 * @param recipientId
	 */
	public MessageCommand(Message message, String recipientId) {
		super();
		this.message = message;
		this.recipientId = recipientId;
	}

	/**
	 * @return the message
	 */
	public Message getMessage() {
		return message;
	}

	/**
	 * @param message the message to set
	 */
	public void setMessage(Message message) {
		this.message = message;
	}

	/**
	 * @return the recipientId
	 */
	public String getRecipientId() {
		return recipientId;
	}

	/**
	 * @param recipientId the recipientId to set
	 */
	public void setRecipientId(String recipientId) {
		this.recipientId = recipientId;
	}


}
